﻿<?xml version="1.0" encoding="utf-8" ?>

<lzr:ruleset id="ObjectGraph" xmlns:lzr="http://schemas.icitadel.com/Lazarus/CPP/Rules.xsd" name="OneReality CPP">
   <lzr:includes>
      <lzr:include file="CCallback.h" />
   </lzr:includes>
   <lzr:class-rules>
      <lzr:class-rule context="Header.Region" use-entity-name="true" format="UpperCase" suffix="_H" />
      <lzr:class-rule context="Header.Filename" use-entity-name="true" format="Default" suffix=".h" />
      <lzr:class-rule context="Source.Filename" use-entity-name="true" format="Default" suffix=".cpp" />
   </lzr:class-rules>
   <lzr:variable-rules>
      <lzr:variable-rule context="Field" notation="Standard" prefix="f" scope="Protected" />
      <lzr:variable-rule context="Parameter" notation="Standard" />
      <lzr:variable-rule context="Local" notation="Standard" />
   </lzr:variable-rules>
   <lzr:method-rules>
      <lzr:method-rule context="Property.Get" prefix="Get">
         <lzr:filtered-rules>
            <lzr:filtered-rule type="vt:boolean" prefix="Is" />
         </lzr:filtered-rules>
      </lzr:method-rule>
      <lzr:method-rule context="Property.Set" prefix="Set" />
      <lzr:method-rule context="Event.Add" prefix="SetOn" scope="Public" />
      <lzr:method-rule context="Event.Fire" prefix="On" scope="Protected" />
   </lzr:method-rules>
</lzr:ruleset>
